package com.gdupt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gdupt.entity.ServiceUserAllot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gdupt.entity.vo.ServiceUserAllotAndServiceManagementVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务用户分配表 服务用户关系表 服务类
 * </p>
 *
 * @author gdupt
 * @since 2018-11-21
 */
public interface IServiceUserAllotService extends IService<ServiceUserAllot> {
    //返回服务归档
    List<ServiceUserAllotAndServiceManagementVo> findArchiveService(IPage page, @Param("customerName") String customerName,
                                                                    @Param("outline") String outline,@Param("serviceType") String serviceType);
    //插入服务分配
    boolean insertAllotService(ServiceUserAllot serviceUserAllot);
    //    服务处理-->查询
    List<ServiceUserAllotAndServiceManagementVo> findHandleService(IPage page, @Param("customerName") String customerName,
                                                                   @Param("outline") String outline,@Param("serviceType") String serviceType);
    //服务处理-->写入
    boolean updateHandleService(ServiceUserAllot serviceUserAllot);
    //    服务反馈-->查询
    List<ServiceUserAllotAndServiceManagementVo> findFeedbackService(IPage page, @Param("customerName") String customerName,
                                                                     @Param("outline") String outline,@Param("serviceType") String serviceType);
    //服务反馈>更新
    boolean updateFeedbackService(ServiceUserAllot serviceUserAllot);



}
